package br.org.etec.dotcao.model;

import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name="tfacebookoauth")
@PrimaryKeyJoinColumn(name="oauth")
public class FacebookOauth extends OauthInfo{

	private static final long serialVersionUID = 1L;
	
	private String userId;
	private String accessToken;
	
	{
		setName("Facebook");
	}
	
	public String getAccessToken() {
		return accessToken;
	}
	
	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}

}
